<?xml version="1.0" ?>
<map height="20" tileheight="32" tileset="tiles/kimen" tilewidth="64" width="20">
<layer z="0">
<tiles>
    0 2 0 2 0 2 0 2 0 0    0 2 0 2 0 2 0 2 0 0    0 2 0 2 0 3 0 2 0 0    0 2 0 3 0 3 0 2 0 0    0 2 0 3 0 2 0 2 0 0    0 2 0 2 0 2 0 1 0 0    0 1 0 2 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 2 0 0    0 2 0 1 0 2 0 2 0 0    0 2 0 2 0 1 0 1 0 0    0 1 0 1 0 2 0 1 0 0    0 1 0 2 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    
    0 2 0 2 0 2 0 2 0 0    0 2 0 2 0 3 0 2 0 0    0 2 0 3 0 3 0 3 0 0    0 3 0 3 0 2 0 3 0 0    0 3 0 2 0 3 0 2 0 0    0 2 0 3 0 2 0 2 0 0    0 2 0 2 0 3 0 1 0 0    0 1 0 3 0 2 0 1 0 0    0 1 0 2 0 2 0 1 0 0    0 1 0 2 0 1 0 1 0 0    0 1 0 1 0 2 0 1 0 0    0 1 0 2 0 3 0 1 0 0    0 1 0 3 0 2 0 2 0 0    0 2 0 2 0 1 0 1 0 0    0 1 0 1 0 3 0 2 0 0    0 2 0 3 0 3 0 1 0 0    0 1 0 3 0 3 0 1 0 0    0 1 0 3 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    
    0 2 0 2 0 3 0 2 0 0    0 2 0 3 0 2 0 3 0 0    0 3 0 2 0 3 0 3 0 0    0 3 0 3 0 1 0 2 0 0    0 2 0 1 0 3 0 3 0 0    0 3 0 3 0 1 0 2 0 0    0 2 0 1 0 3 0 3 0 0    0 3 0 3 0 3 0 2 0 0    0 2 0 3 0 1 0 2 0 0    0 2 0 1 0 1 0 1 0 0    0 1 0 1 0 2 0 2 0 0    0 2 0 2 0 3 0 3 0 0    0 3 0 3 0 3 0 2 0 0    0 2 0 3 0 2 0 1 0 0    0 1 0 2 0 1 0 3 0 0    0 3 0 1 0 2 0 3 0 0    0 3 0 2 0 3 0 3 0 0    0 3 0 3 0 3 0 1 0 0    0 1 0 3 0 1 0 1 0 0    0 1 0 1 0 2 0 1 0 0    
    0 2 0 2 0 3 0 3 0 0    0 3 0 3 0 3 0 2 0 0    0 2 0 3 0 1 0 3 0 0    0 3 0 1 0 2 0 1 0 0    0 1 0 2 0 3 0 3 0 0    0 3 0 3 0 1 0 1 0 0    0 1 0 1 0 1 0 3 0 0    0 3 0 1 0 3 0 3 0 0    0 3 0 3 0 3 0 1 0 0    0 1 0 3 0 1 0 1 0 0    0 1 0 1 0 1 0 2 0 0    0 2 0 1 0 2 0 3 0 0    0 3 0 2 0 3 0 3 0 0    0 3 0 3 0 3 0 2 0 0    0 2 0 3 0 3 0 1 0 0    0 1 0 3 0 1 0 2 0 0    0 2 0 1 0 3 0 3 0 0    0 3 0 3 0 2 0 3 0 0    0 3 0 2 0 2 0 1 0 0    0 1 0 2 0 2 0 2 0 0    
    0 2 0 2 0 2 0 3 0 0    0 3 0 2 0 2 0 3 0 0    0 3 0 2 0 1 0 1 0 0    0 1 0 1 0 3 0 2 0 0    0 2 0 3 0 3 0 3 0 0    0 3 0 3 0 4 0 1 0 0    0 1 0 4 0 1 0 1 0 0    0 1 0 1 0 1 0 3 0 0    0 3 0 1 0 1 0 3 0 0    0 3 0 1 0 3 0 1 0 0    0 1 0 3 0 1 0 1 0 0    0 1 0 1 0 1 0 2 0 0    0 2 0 1 0 2 0 3 0 0    0 3 0 2 0 1 0 3 0 0    0 3 0 1 0 1 0 3 0 0    0 3 0 1 0 3 0 1 0 0    0 1 0 3 0 3 0 3 0 0    0 3 0 3 0 3 0 2 0 0    0 2 0 3 0 1 0 2 0 0    0 2 0 1 0 1 0 2 0 0    
    0 2 0 2 0 1 0 2 0 0    0 2 0 1 0 3 0 2 0 0    0 2 0 3 0 1 0 1 0 0    0 1 0 1 0 3 0 3 0 0    0 3 0 3 0 3 0 3 0 0    0 3 0 3 0 4 0 4 0 0    0 4 0 4 0 1 0 1 0 0    0 1 0 1 0 4 0 1 0 0    0 1 0 4 0 3 0 1 0 0    0 1 0 3 0 1 0 3 0 0    0 3 0 1 0 3 0 1 0 0    0 1 0 3 0 3 0 1 0 0    0 1 0 3 0 2 0 2 0 0    0 2 0 2 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 3 0 0    0 3 0 1 0 3 0 3 0 0    0 3 0 3 0 1 0 3 0 0    0 3 0 1 0 3 0 1 0 0    0 1 0 3 0 1 0 1 0 0    
    0 2 0 2 0 2 0 1 0 0    0 1 0 2 0 3 0 3 0 0    0 3 0 3 0 2 0 1 0 0    0 1 0 2 0 2 0 3 0 0    0 3 0 2 0 2 0 3 0 0    0 3 0 2 0 1 0 4 0 0    0 4 0 1 0 1 0 1 0 0    0 1 0 1 0 4 0 4 0 0    0 4 0 4 0 3 0 3 0 0    0 3 0 3 0 4 0 1 0 0    0 1 0 4 0 1 0 3 0 0    0 3 0 1 0 1 0 3 0 0    0 3 0 1 0 1 0 2 0 0    0 2 0 1 0 3 0 1 0 0    0 1 0 3 0 3 0 1 0 0    0 1 0 3 0 1 0 1 0 0    0 1 0 1 0 2 0 3 0 0    0 3 0 2 0 1 0 1 0 0    0 1 0 1 0 2 0 3 0 0    0 3 0 2 0 2 0 1 0 0    
    0 2 0 2 0 2 0 2 0 0    0 2 0 2 0 2 0 3 0 0    0 3 0 2 0 1 0 2 0 0    0 2 0 1 0 3 0 2 0 0    0 2 0 3 0 3 0 2 0 0    0 2 0 3 0 1 0 1 0 0    0 1 0 1 0 3 0 1 0 0    0 1 0 3 0 3 0 4 0 0    0 4 0 3 0 3 0 3 0 0    0 3 0 3 0 4 0 4 0 0    0 4 0 4 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 3 0 0    0 3 0 1 0 1 0 3 0 0    0 3 0 1 0 3 0 1 0 0    0 1 0 3 0 3 0 2 0 0    0 2 0 3 0 2 0 1 0 0    0 1 0 2 0 2 0 2 0 0    0 2 0 2 0 2 0 2 0 0    
    0 2 0 2 0 2 0 2 0 0    0 2 0 2 0 1 0 2 0 0    0 2 0 1 0 1 0 1 0 0    0 1 0 1 0 4 0 3 0 0    0 3 0 4 0 1 0 3 0 0    0 3 0 1 0 1 0 1 0 0    0 1 0 1 0 4 0 3 0 0    0 3 0 4 0 1 0 3 0 0    0 3 0 1 0 1 0 3 0 0    0 3 0 1 0 1 0 4 0 0    0 4 0 1 0 4 0 1 0 0    0 1 0 4 0 4 0 1 0 0    0 1 0 4 0 4 0 1 0 0    0 1 0 4 0 4 0 1 0 0    0 1 0 4 0 1 0 1 0 0    0 1 0 1 0 1 0 3 0 0    0 3 0 1 0 3 0 3 0 0    0 3 0 3 0 3 0 2 0 0    0 2 0 3 0 1 0 2 0 0    0 2 0 1 0 1 0 2 0 0    
    0 2 0 1 0 2 0 2 0 0    0 2 0 2 0 2 0 1 0 0    0 1 0 2 0 2 0 1 0 0    0 1 0 2 0 1 0 4 0 0    0 4 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 4 0 0    0 4 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 4 0 0    0 4 0 1 0 4 0 4 0 0    0 4 0 4 0 4 0 4 0 0    0 4 0 4 0 1 0 4 0 0    0 4 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 3 0 0    0 3 0 1 0 3 0 3 0 0    0 3 0 3 0 3 0 1 0 0    0 1 0 3 0 1 0 1 0 0    
    0 1 0 1 0 1 0 2 0 0    0 2 0 1 0 2 0 2 0 0    0 2 0 2 0 1 0 2 0 0    0 2 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 2 0 1 0 0    0 1 0 2 0 2 0 1 0 0    0 1 0 2 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 4 0 4 0 0    0 4 0 4 0 4 0 4 0 0    0 4 0 4 0 4 0 1 0 0    0 1 0 4 0 4 0 1 0 0    0 1 0 4 0 4 0 1 0 0    0 1 0 4 0 4 0 1 0 0    0 1 0 4 0 4 0 3 0 0    0 3 0 4 0 4 0 3 0 0    0 3 0 4 0 4 0 1 0 0    
    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 3 0 2 0 0    0 2 0 3 0 3 0 1 0 0    0 1 0 3 0 2 0 1 0 0    0 1 0 2 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 4 0 2 0 0    0 2 0 4 0 4 0 2 0 0    0 2 0 4 0 1 0 1 0 0    0 1 0 1 0 3 0 1 0 0    0 1 0 3 0 3 0 1 0 0    0 1 0 3 0 2 0 4 0 0    0 4 0 2 0 4 0 4 0 0    0 4 0 4 0 4 0 4 0 0    0 4 0 4 0 4 0 4 0 0    0 4 0 4 0 4 0 4 0 0    0 4 0 4 0 4 0 4 0 0    0 4 0 4 0 4 0 4 0 0    0 4 0 4 0 4 0 4 0 0    0 4 0 4 0 4 0 4 0 0    
    0 1 0 2 0 2 0 1 0 0    0 1 0 2 0 3 0 3 0 0    0 3 0 3 0 3 0 3 0 0    0 3 0 3 0 3 0 2 0 0    0 2 0 3 0 3 0 1 0 0    0 1 0 3 0 1 0 1 0 0    0 1 0 1 0 1 0 4 0 0    0 4 0 1 0 3 0 4 0 0    0 4 0 3 0 1 0 1 0 0    0 1 0 1 0 1 0 3 0 0    0 3 0 1 0 3 0 3 0 0    0 3 0 3 0 1 0 2 0 0    0 2 0 1 0 1 0 4 0 0    0 4 0 1 0 1 0 4 0 0    0 4 0 1 0 1 0 4 0 0    0 4 0 1 0 1 0 4 0 0    0 4 0 1 0 4 0 4 0 0    0 4 0 4 0 4 0 4 0 0    0 4 0 4 0 3 0 4 0 0    0 4 0 3 0 3 0 4 0 0    
    0 2 0 2 0 2 0 2 0 0    0 2 0 2 0 1 0 3 0 0    0 3 0 1 0 3 0 3 0 0    0 3 0 3 0 2 0 3 0 0    0 3 0 2 0 1 0 3 0 0    0 3 0 1 0 3 0 1 0 0    0 1 0 3 0 3 0 1 0 0    0 1 0 3 0 3 0 3 0 0    0 3 0 3 0 1 0 1 0 0    0 1 0 1 0 2 0 1 0 0    0 1 0 2 0 4 0 3 0 0    0 3 0 4 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 4 0 1 0 0    0 1 0 4 0 4 0 1 0 0    0 1 0 4 0 4 0 4 0 0    0 4 0 4 0 1 0 4 0 0    0 4 0 1 0 3 0 3 0 0    0 3 0 3 0 1 0 3 0 0    
    0 2 0 2 0 2 0 2 0 0    0 2 0 2 0 2 0 1 0 0    0 1 0 2 0 3 0 3 0 0    0 3 0 3 0 2 0 2 0 0    0 2 0 2 0 1 0 1 0 0    0 1 0 1 0 2 0 3 0 0    0 3 0 2 0 1 0 3 0 0    0 3 0 1 0 1 0 3 0 0    0 3 0 1 0 2 0 1 0 0    0 1 0 2 0 2 0 2 0 0    0 2 0 2 0 2 0 4 0 0    0 4 0 2 0 3 0 1 0 0    0 1 0 3 0 4 0 1 0 0    0 1 0 4 0 1 0 1 0 0    0 1 0 1 0 4 0 4 0 0    0 4 0 4 0 3 0 4 0 0    0 4 0 3 0 3 0 4 0 0    0 4 0 3 0 3 0 1 0 0    0 1 0 3 0 3 0 3 0 0    0 3 0 3 0 1 0 1 0 0    
    0 2 0 2 0 1 0 2 0 0    0 2 0 1 0 2 0 2 0 0    0 2 0 2 0 2 0 3 0 0    0 3 0 2 0 3 0 2 0 0    0 2 0 3 0 2 0 1 0 0    0 1 0 2 0 1 0 2 0 0    0 2 0 1 0 2 0 1 0 0    0 1 0 2 0 1 0 1 0 0    0 1 0 1 0 2 0 2 0 0    0 2 0 2 0 3 0 2 0 0    0 2 0 3 0 1 0 2 0 0    0 2 0 1 0 2 0 3 0 0    0 3 0 2 0 1 0 4 0 0    0 4 0 1 0 2 0 1 0 0    0 1 0 2 0 1 0 4 0 0    0 4 0 1 0 1 0 3 0 0    0 3 0 1 0 3 0 3 0 0    0 3 0 3 0 3 0 3 0 0    0 3 0 3 0 1 0 3 0 0    0 3 0 1 0 1 0 1 0 0    
    0 2 0 2 0 2 0 1 0 0    0 1 0 2 0 1 0 2 0 0    0 2 0 1 0 2 0 2 0 0    0 2 0 2 0 2 0 3 0 0    0 3 0 2 0 2 0 2 0 0    0 2 0 2 0 2 0 1 0 0    0 1 0 2 0 1 0 2 0 0    0 2 0 1 0 1 0 1 0 0    0 1 0 1 0 3 0 2 0 0    0 2 0 3 0 1 0 3 0 0    0 3 0 1 0 2 0 1 0 0    0 1 0 2 0 1 0 2 0 0    0 2 0 1 0 3 0 1 0 0    0 1 0 3 0 2 0 2 0 0    0 2 0 2 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 3 0 3 0 0    0 3 0 3 0 3 0 3 0 0    0 3 0 3 0 3 0 1 0 0    0 1 0 3 0 1 0 1 0 0    
    0 2 0 1 0 2 0 2 0 0    0 2 0 2 0 2 0 1 0 0    0 1 0 2 0 2 0 2 0 0    0 2 0 2 0 1 0 2 0 0    0 2 0 1 0 1 0 2 0 0    0 2 0 1 0 2 0 2 0 0    0 2 0 2 0 3 0 1 0 0    0 1 0 3 0 3 0 1 0 0    0 1 0 3 0 3 0 3 0 0    0 3 0 3 0 2 0 1 0 0    0 1 0 2 0 1 0 2 0 0    0 2 0 1 0 1 0 1 0 0    0 1 0 1 0 3 0 3 0 0    0 3 0 3 0 1 0 2 0 0    0 2 0 1 0 1 0 1 0 0    0 1 0 1 0 2 0 1 0 0    0 1 0 2 0 3 0 3 0 0    0 3 0 3 0 1 0 3 0 0    0 3 0 1 0 3 0 3 0 0    0 3 0 3 0 1 0 1 0 0    
    0 1 0 1 0 1 0 2 0 0    0 2 0 1 0 1 0 2 0 0    0 2 0 1 0 2 0 2 0 0    0 2 0 2 0 2 0 1 0 0    0 1 0 2 0 1 0 1 0 0    0 1 0 1 0 2 0 2 0 0    0 2 0 2 0 2 0 3 0 0    0 3 0 2 0 2 0 3 0 0    0 3 0 2 0 2 0 3 0 0    0 3 0 2 0 2 0 2 0 0    0 2 0 2 0 2 0 1 0 0    0 1 0 2 0 1 0 1 0 0    0 1 0 1 0 3 0 3 0 0    0 3 0 3 0 3 0 1 0 0    0 1 0 3 0 3 0 1 0 0    0 1 0 3 0 3 0 2 0 0    0 2 0 3 0 1 0 3 0 0    0 3 0 1 0 3 0 1 0 0    0 1 0 3 0 1 0 3 0 0    0 3 0 1 0 1 0 1 0 0    
    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 2 0 0    0 2 0 1 0 2 0 2 0 0    0 2 0 2 0 2 0 1 0 0    0 1 0 2 0 2 0 2 0 0    0 2 0 2 0 2 0 2 0 0    0 2 0 2 0 2 0 2 0 0    0 2 0 2 0 2 0 2 0 0    0 2 0 2 0 2 0 2 0 0    0 2 0 2 0 2 0 2 0 0    0 2 0 2 0 1 0 1 0 0    0 1 0 1 0 1 0 3 0 0    0 3 0 1 0 1 0 3 0 0    0 3 0 1 0 3 0 3 0 0    0 3 0 3 0 3 0 3 0 0    0 3 0 3 0 3 0 1 0 0    0 1 0 3 0 1 0 3 0 0    0 3 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    
</tiles>

<!-- Some plants. -->
<staticobject config="locations/kimen/plant.xml" name="plant" tilex="7" tiley="5" />
<staticobject config="locations/kimen/plant.xml" name="plant" tilex="3" tiley="2" />
<staticobject config="locations/kimen/plant.xml" name="plant" tilex="5" tiley="11" />
<staticobject config="locations/kimen/plant.xml" name="plant" tilex="10" tiley="4" />
<staticobject config="locations/kimen/plant.xml" name="plant" tilex="16" tiley="18" />
<staticobject config="locations/kimen/plant.xml" name="plant" tilex="18" tiley="15" />
<staticobject config="locations/kimen/plant.xml" name="plant" tilex="12" tiley="14" />
<staticobject config="locations/kimen/plant.xml" name="plant" tilex="17" tiley="5" />
<staticobject config="locations/kimen/plant.xml" name="plant" tilex="6" tiley="18" />

<!-- An irrigation system. -->
<if code="import PartyManager; partyManager=PartyManager.getPartyManager()"
    cond="partyManager.hasRecord('kimen_destroyed_irrigation_3')">
    <staticobject config="locations/kimen/irrigation.xml" name="irrigation" tilex="8" tiley="13" animation="broken" />
</if>
<!-- An irrigation system. -->
<if code="import PartyManager; partyManager=PartyManager.getPartyManager()"
    cond="not partyManager.hasRecord('kimen_destroyed_irrigation_3')">
    <staticobject config="locations/kimen/irrigation.xml" name="irrigation" tilex="8" tiley="13" />
</if>

<!-- Way to plantation2 -->
<area tilex1="18" tilex2="20" tiley1="10" tiley2="13" visible="1" >
import annchienta, PartyManager
partyManager = PartyManager.getPartyManager()
partyManager.changeMap( &quot;locations/kimen/plantation2.xml&quot;, annchienta.Point( annchienta.TilePoint, 3, 6 ) )
</area>

<!-- a powerful weapon. -->
<chest item="excalibur" tilex="4" tiley="15" />

</layer>

<onload script="locations/kimen/onload.py" />

</map>
